package osgi.common.services.client;

import java.util.Map;

import org.osgi.service.component.ComponentContext;

import osgi.common.services.EServiceState;

public interface ICommonService {
	

	String getLoggerName();
	
	String getServiceName();	
	void setServiceName(String serviceName);
	
	EServiceState getServiceState();
	void setServiceState( EServiceState state );
		
	void activate(ComponentContext context);
	void deactivate(ComponentContext context);

	
	Map<String, ? extends Object> getConfigProperties();
	
	void setConfigProperties(Map<String, ? extends Object> configProperties);
	
	Object getConfigProperty(String propertyName);
	
	
}
